KnitPay\Gateways\IntegrationOAuthClient B

Total Complexity 77
Dependencies 6
Dependents 0
Total lines 551
Lines of code 335
Logical lines of code 174
Comment lines 110
Methods 29
Properties 2

Methods 29

Method Rating Maintainability Complexity Lines of code
refresh_access_token()
A
44 12 46
update_connection_status()
A
45 12 40
schedule_next_refresh_access_token()
S
53 6 22
save_post()
S
57 6 17
save_token()
S
54 5 19
get_settings_fields()
S
56 5 18
init_oauth_connect()
S
50 3 30
connection_status_box()
S
55 3 17
setup()
S
59 2 14
get_oauth_connect_button_fields()
S
52 1 27
get_gateway()
S
62 2 12
get_oauth_connection_status_fields()
S
56 1 18
is_auth_basic_enabled()
S
75 2 4
inc_refresh_token_fail_counter()
S
66 2 8
is_mode_changed()
S
82 1 3
is_auth_basic_connected()
S
82 1 3
is_oauth_connected()
S
80 1 3
create_basic_connection()
S
83 1 3
__construct()
S
76 1 4
configure_webhook()
S
82 1 3
redirect_to_config()
S
76 1 4
get_child_config()
S
100 1 0
clear_config()
S
71 1 5
get_config()
S
70 1 6
get_basic_auth_fields()
S
82 1 3
payment_provider_url()
S
82 1 3
allowed_redirect_hosts()
S
100 1 0
clear_child_config()
S
100 1 0
show_remaining_setting_fields()
S
82 1 3